/**
 * Issue asignee timeline domain class.
 */
class IssueAssigneeTimeline extends Timeline {
    User assignee

    static belongsTo = [issue: Issue]

    static constraints = {
        assignee(blank: false)
    }

    public String toString() {
        return "$assignee - ($user, $fromDate-$toDate)"
    }
}
